<?php 
	
session_start();	
include_once '../autoload.php';

$error_msg = "";

if (isset($_POST["user"])) {
//	include_once ('autoload.php');
	$user = new client();
    $error_msg = $user->validateUser($_POST["user"], $_POST["pass"]);
}

echo $error_msg;

?>
